package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;

import java.io.Serializable;
import java.time.LocalDateTime;

public class EnterpriseStateFlowBean extends RootBean {
    /**
     *  id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 订单状态 state
     */
    private Integer state;

    /**
     * 订单修改人id(系统修改则填写0) operator_id
     */
    private Integer operatorId;

    /**
     * 订单修改人名称(系统修改则填写system) operator_name
     */
    private String operatorName;

    /**
     * 订单修改人员类型(1：C端用户，2：B端用户，3：系统) modified_type
     */
    private Integer modifiedType;

    /**
     * 订单修改时间 modified_time
     */
    private LocalDateTime modifiedTime;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 是否删除（0：未删除，1：已删除） is_delete
     */
    private Boolean isDelete;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_enterprise_state_flow
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return order_code 订单号
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param orderCode 订单号
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 订单状态
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return state 订单状态
     */
    public Integer getState() {
        return state;
    }

    /**
     * 订单状态
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param state 订单状态
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * 订单修改人id(系统修改则填写0)
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return operator_id 订单修改人id(系统修改则填写0)
     */
    public Integer getOperatorId() {
        return operatorId;
    }

    /**
     * 订单修改人id(系统修改则填写0)
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param operatorId 订单修改人id(系统修改则填写0)
     */
    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    /**
     * 订单修改人名称(系统修改则填写system)
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return operator_name 订单修改人名称(系统修改则填写system)
     */
    public String getOperatorName() {
        return operatorName;
    }

    /**
     * 订单修改人名称(系统修改则填写system)
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param operatorName 订单修改人名称(系统修改则填写system)
     */
    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName == null ? null : operatorName.trim();
    }

    /**
     * 订单修改人员类型(1：C端用户，2：B端用户，3：系统)
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return modified_type 订单修改人员类型(1：C端用户，2：B端用户，3：系统)
     */
    public Integer getModifiedType() {
        return modifiedType;
    }

    /**
     * 订单修改人员类型(1：C端用户，2：B端用户，3：系统)
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param modifiedType 订单修改人员类型(1：C端用户，2：B端用户，3：系统)
     */
    public void setModifiedType(Integer modifiedType) {
        this.modifiedType = modifiedType;
    }

    /**
     * 订单修改时间
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return modified_time 订单修改时间
     */
    public LocalDateTime getModifiedTime() {
        return modifiedTime;
    }

    /**
     * 订单修改时间
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param modifiedTime 订单修改时间
     */
    public void setModifiedTime(LocalDateTime modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    /**
     * 备注
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 是否删除（0：未删除，1：已删除）
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return is_delete 是否删除（0：未删除，1：已删除）
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 是否删除（0：未删除，1：已删除）
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param isDelete 是否删除（0：未删除，1：已删除）
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 创建时间
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return gmt_create 创建时间
     */
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param gmtCreate 创建时间
     */
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 更新时间
     * @author admin
     * @date 2020-06-23 10:26:39
     * @return gmt_modified 更新时间
     */
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 更新时间
     * @author admin
     * @date 2020-06-23 10:26:39
     * @param gmtModified 更新时间
     */
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EnterpriseStateFlowBean other = (EnterpriseStateFlowBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
            && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()))
            && (this.getOperatorId() == null ? other.getOperatorId() == null : this.getOperatorId().equals(other.getOperatorId()))
            && (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName()))
            && (this.getModifiedType() == null ? other.getModifiedType() == null : this.getModifiedType().equals(other.getModifiedType()))
            && (this.getModifiedTime() == null ? other.getModifiedTime() == null : this.getModifiedTime().equals(other.getModifiedTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        result = prime * result + ((getOperatorId() == null) ? 0 : getOperatorId().hashCode());
        result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode());
        result = prime * result + ((getModifiedType() == null) ? 0 : getModifiedType().hashCode());
        result = prime * result + ((getModifiedTime() == null) ? 0 : getModifiedTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", state=").append(state);
        sb.append(", operatorId=").append(operatorId);
        sb.append(", operatorName=").append(operatorName);
        sb.append(", modifiedType=").append(modifiedType);
        sb.append(", modifiedTime=").append(modifiedTime);
        sb.append(", remark=").append(remark);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}